-
Main bar
summary for Main bar
task.
To calculate summary of main bars use functions ganttstart, ganttend, ganttduration and ganttpercent.
The sample summary default is:
<D Name="SUM" Calculated="1" CalcOrder="START,END,DUR,COMP"
STARTFormula="ganttstart()" ENDFormula="ganttend()"
DURFormula="ganttduration()" COMPFormula="ganttpercent()"
GANTTGanttEdit="" CanEdit="0"
/>
where the START, END, DUR, COMP and GANTT are the appropriate column names used in grid.
Optionally the summary definition can have defined GanttClass attribute to show the bars in different color than standard main bars
and GanttIcons="1" to show side icons for bar, just for visual effect.
-
Main bar
summary for Flow
tasks with GanttFlowComplete. (Continuous summary)
Retype the Flow bars in summary to Main bars and use standard functions ganttstart, ganttend and ganttpercent for calculations.
The sample summary default is:
<D Name="SUM" Calculated="1" CalcOrder="GANTTGanttStart,GANTTGanttEnd,COMP,FLOW" AggChildren='1'
GANTTGanttFlow="" GANTTGanttFlowComplete="" GANTTGanttComplete="COMP"
GANTTGanttStartFormula="ganttstart()" GANTTGanttEndFormula="ganttend()" COMPFormula="ganttpercent()"
FLOWFormula="Row.GANTTGanttStart + ' ~ ' + Row.GANTTGanttEnd"
GANTTGanttEdit="" CanEdit="0"
/>
where the FLOW, COMP and GANTT are appropriate column names used in grid.
It also possible to define the GanttClass and GanttIcons attributes.
If you nest the summaries, you should set for them AggChildren='1' to sum always the source flow bars and not the child main bars.
-
Flow bar
summary for Flow
task with GanttFlowComplete. (Discrete summary)
To calculate summary of flow bars use functions sumflow and ganttpercent.
The sample summary default is:
<D Name="SUM" Calculated="1" CalcOrder="FLOW,COMP"
FLOWFormula="sumflow()" COMPFormula="ganttpercent()"
GANTTGanttEdit="" CanEdit="0"
/>
where the FLOW, COMP and GANTT are appropriate column names used in grid.
It also possible to define the GanttClass, but NOT the GanttIcons attribute.
-
Main bar
summary for Run
tasks. (Continuous summary).
Retype the Run bars in summary to Main bars and use functions ganttrunminstart and ganttrunmaxend for calculations.
The sample summary default is:
<D Name="SUM" Calculated="1" CalcOrder="START,END,DUR,COMP" AggChildren='1'
GANTTGanttStart="START" GANTTGanttEnd="END" GANTTGanttDuration="DUR" GANTTGanttComplete="COMP" GANTTGanttRun=""
GANTTGanttStartFormula="ganttrunminstart()" GANTTGanttEndFormula="ganttrunmaxend()" DURFormula="Grid.DiffGanttDate(END,START)" COMPFormula="ganttpercent()"
GANTTGanttEdit="" CanEdit="0"
/>
where the START, END, DUR, COMP and GANTT are appropriate column names used in grid.
It also possible to define the GanttClass and GanttIcons attributes.
If you nest the summaries, you should set for them AggChildren='1' to sum always the source runs and not the child main bars.